.editor {
    width: 100%;
    height: 300px;
    border: 1px solid #aaa;
}
